package com.xiongda.dao;

import com.xiongda.pojo.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User getUser(User user);

    User getUserByCode(String code);

    void updateByLastLoginTime(Long id);

}